home *** CD-ROM | disk | FTP | other *** search
- Path: nimr.mrc.ac.uk!m-bradbu
- From: m-bradbu@nimr.mrc.ac.uk (Mark Bradburn)
- Newsgroups: comp.lang.c++
- Subject: HELP PLEASE!!
- Date: 2 Apr 1996 10:08:37 GMT
- Organization: National Institute for Medical Research, London
- Message-ID: <4jqub5$o0b@mercury.hgmp.mrc.ac.uk>
- NNTP-Posting-Host: iris4.nimr.mrc.ac.uk
-
- Hi all,
-
- I am new to all this programming lark and cant work out how to the following.
- I have a file called 'answer**' and want to extract numbers from the file and
- calculate the mean and standard deviation.The file looks soemthing like...
-
- SEQ = A1 STR = A2 SCORE = 100.00
- SEQ = A2 STR = B1 SCORE = 55.45
- SEQ = B1 STR = B2 SCORE = 66.76
-
- What i want the thing to do is open the file,extract the different combinations
- and writer the mean and S.D for the pairings A/A, B/A+A/B and B/B back to the
- 'answer***' file or to a new one.
-
- Anyone give me a masive hint on how to do this.
-
- -Mark
- --
- Mark Bradburn, Mathematical Biology, N.I.M.R ,LONDON, UK NW7 1AA
- http://www.nimr.mrc.ac.uk/ | talk m-bradbu@iris4.nimr.mrc.ac.uk
- E-mail: m-bradbu@nimr.mrc.ac.uk | Phone: 0181 9593666 ext.2396
- FAQ : (UK) (0181) 9138545
-
-
-
-